package com.pf.dto;

import com.pf.aop.EncryptField;
import com.pf.aop.EncryptSecretKey;
import com.pf.aop.SelfWrapper;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2022/2/13 19:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserAddress extends BaseDTO {
    @EncryptSecretKey
    private String secretKey;
    @EncryptField
    private String account;
    @EncryptField
    private String password;
    private List<Address> addresses;

}
